# -*- coding: utf-8 -*-
"""
@Project: Msptest
@Author: 余振新
@File name: 新增页.py
@Create time: 2023/6/17 10:54
"""
from selenium.webdriver.common.by import By

部门名称输入框 = (By.XPATH, '//input[@placeholder="请输入部门名称"]')
# 部门类型
部门类型下拉框 = (By.XPATH, '//*[@id="main"]/div/div[3]/div/div/div/div/div/div[2]/div/div/div[1]/div[2]/div/form/div[2]/div/div/div[1]/div/span')
部门类型下拉框选项_学术 = (By.XPATH, '//li[text()="学术"]')
部门类型下拉框选项_办公室 = (By.XPATH, '//li[text()="办公室"]')
部门类型下拉框选项_社区 = (By.XPATH, '//li[text()="社区"]')
部门类型下拉框选项_OTC = (By.XPATH, '//li[text()="OTC"]')
部门类型下拉框选项_芬太克 = (By.XPATH, '//li[text()="芬太克"]')
部门类型下拉框选项_医院 = (By.XPATH, '//li[text()="医院"]')
# 上级部门
上级部门下拉框 = (By.XPATH, '//*[@id="main"]/div/div[3]/div/div/div/div/div/div[2]/div/div/div[1]/div[2]/div/form/div[3]/div/div/i')
上级部门下拉框选项_健康顾问组 = (By.XPATH, '//span[text()="健康顾问组"]')
# 部门主管
部门主管 = (By.XPATH, '//*[@id="main"]/div/div[3]/div/div/div/div/div/div[2]/div/div/div[1]/div[2]/div/form/div[4]/div/div[1]/i')
# ;查询主管
部门主管_姓名输入框 = (By.XPATH, '//input[@placeholder="请输入业务员姓名或编号"]')
部门主管_搜索按钮 = (By.XPATH, '//span[text()="搜索"]')
# ;选择主管数据
部门主管_主管数据 = (By.XPATH, '//span[text()="在职"]')
# ;序号
序号输入框 = (By.XPATH, '//*[@id="main"]/div/div[3]/div/div/div/div/div/div[2]/div/div/div[1]/div[2]/div/form/div[10]/div/div[1]/div[2]/input')
# ;保存部门信息
保存按钮 = (By.XPATH, '//span[text()="保存"]')
# 提示框
提示框 = (By.XPATH, '//div[@class="ivu-notice-title"]')
